Exception Handling in the Choices Operating System

نویسندگان

  • Francis M. David
  • Jeffrey C. Carlyle
  • Ellick Chan
  • David Raila
  • Roy H. Campbell
چکیده

Exception handling is a powerful abstraction that can be used to help manage errors and support the construction of reliable operating systems. Using exceptions to notify system components about exceptional conditions also reduces coupling of error handling code and increases the modularity of the system. We explore the benefits of incorporating exception handling into the Choices operating system in order to improve reliability. We extend the set of exceptional error conditions in the kernel to include critical kernel errors such as invalid memory access and undefined instructions by wrapping them with language-based software exceptions. This allows developers to handle both hardware and software exceptions in a simple and unified manner through the use of an exception hierarchy. We also describe a catch-rethrow approach for exception propagation across protection domains. When an exception is caught by the system, generic recovery techniques like policy-driven micro-reboots and restartable processes are applied, thus increasing the reliability of the system.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Aligning Exception Handling with Design-by-Contract in Embedded Real-Time Systems Development

In this paper we introduce an exception handling mechanism, which is part of the kernel of an operating system for embedded applications. Our approach is based on the theory of design by contract and is adapted for the development of embedded real-time systems.

متن کامل

Enhancing CIMOSA with Exception Handling

CIMOSA (Open System Architecture for CIM) [2], an architecture for the modelling of manufacturing applications, does not provide a facility for exception definition and handling. Exceptions, traditionally associated to programming language and operating systems, are necessary in all types of languages, including specification languages. Our contribution consists of the enhancement of the CIMOSA...

متن کامل

An O(1) Distributed Exception Handling Mechanism for Dynamcially Reconfigurable Real-time Software

Title of Thesis: AN O(1) DISTRISBUTED EXCEPTION HANDLING MECHANISM FOR DYNAMICALLY RECONFIGURABLE REAL-TIME SOFTWARE Degree Candidate: Jun Lang Degree and Year: Master of Science, Electrical Engineering, 1997 Thesis directed by: David B. Stewart, Assistant Professor Department of Electrical Engineering With programs growing in size and complexity, the quality and cost of developing and maintain...

متن کامل

Robustness Testing of A Distributed Simulation Backplane

Creating robust software requires not only careful specification and implementation, but also quantitative measurement. This paper describes Ballista exception handling testing of the High Level Architecture Run-Time Infrastructure (HLA RTI). The RTI is a standard distributed simulation system intended to provide completely robust exception handling, yet implementations have normalized robustne...

متن کامل

How to protect the protector?

This paper describes ongoing research to harden the lower part of the software stack, normally not covered by existing software-based fault-tolerance mechanisms. I discuss a combination of four techniques to harden the operating system kernel against hardware faults: resilient data structures, asynchronous checks, restartable OS services, and message protection. I present initial performance re...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006